package com.zjj.service;

import com.zjj.entity.User;
import com.zjj.entity.UserDTO;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface UserService {
    //增
    int add(User user);

    //删
    int del(int id);

    //改
    int update(User user);

    //查
    public List<UserDTO> select();

}
